package com.bw.kotlinim.app

import android.app.Application
import androidx.multidex.MultiDex
import cn.bmob.v3.Bmob
import com.bw.kotlinim.BuildConfig
import com.hyphenate.chat.EMClient
import com.hyphenate.chat.EMOptions

class App : Application() {
    override fun onCreate() {
        super.onCreate()
        MultiDex.install(this)
        Bmob.initialize(applicationContext,"2c02a139ba5e64944f50582d42885906")
        //初始化
        EMClient.getInstance().init(applicationContext, EMOptions())
//在做打包混淆时，关闭debug模式，避免消耗不必要的资源
        EMClient.getInstance().setDebugMode(BuildConfig.DEBUG)
    }
}























